<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>网上快餐厅--后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="{{url_for('static',filename='css文件/admin/index.css')}}">
    <script type="text/javascript" src="/static/js/jquery-1.11.3.js"></script>

</head>
<body>
    <!-- 头部区 -->
    <div id="header">
        <div class="logo">
            <img src="{{ url_for('static',filename='images/logo.gif')}}">
        </div>
        <div class="header_right">
            <h3>后台管理系统</h3>
            <div class="logout">
                <label>[ admin ]</label>
                <a href="/admin/logout">退出</a>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <!-- 主体 -->
    <div id="main">
        <div class="nothing"></div>
        <!-- 侧边栏 -->
        <div id="leftNav">
            <ul>
                <a href="/admin">
                    <img src="{{url_for('static',filename='images/admin/admin_01.png')}}">
                    <li>首页</li>
                </a>
                <a href="">
                    <img src="{{url_for('static',filename='images/admin/admin_02.png')}}">
                    <li>用户管理</li>
                </a>
                <a href="">
                    <img src="{{url_for('static',filename='images/admin/admin_03.png')}}">
                    <li>积分管理</li>
                </a>
                <a href="/admin/menus">
                    <img src="{{url_for('static',filename='images/admin/admin_04.png')}}">
                    <li>菜单管理</li>
                </a>
                <a href="">
                    <img src="{{url_for('static',filename='images/admin/admin_05.png')}}">
                    <li>订单管理</li>
                </a>
            </ul>
            {% block script %}
            <script>
                $(".selected").removeClass('selected');
                $("#leftNav").find("a:eq(0)").addClass("selected")
            </script>
            {% endblock %}
        </div>
        <!-- 主体内容 -->
        <div id="content">
        {% block content %}
            
        {% endblock %}
        </div>
    </div>
</body>
</html>